﻿/**
 * Created by thomas on 2017/9/11.
 */
/**
 * Created by thomas on 2017/9/11.
 */
export default {
  set_common_card: function (state, obj) {
    state.common_card.first_obj.fade= false;
    state.common_card.sec_obj.fade = false;
    state.common_card.thir_obj.fade = false;
    state.common_card.for_obj.fade = false;
    state.common_card.finish_card_data.show = false;
    if(obj === "finish_card_data"){
      state.common_card[obj].show = true;
    }else{
      state.common_card[obj].fade = true;
    }
  },
  clean_common_card:function (state) {
    state.common_card.first_obj.fade= true;
    state.common_card.sec_obj.fade = false;
    state.common_card.thir_obj.fade = false;
    state.common_card.for_obj.fade = false;
  }
}

